// assignment //

var pathObj1 = {
    "pink_line1": {
        "strokepath": [
            {
                "path": "M 163.192 7.531 L -0.474 7.531",
                "duration": 200
            },
			{
                "path": "M 0.521 20.125 L 0.521 0",
                "duration": 200
            }
        ],
        "dimensions": {
            "width": 164,
            "height": 15
        }
    }
}; 

$(document).ready(function(){ 
$('#assignment').click(function(e){
	$('#pink_line3').lazylinepainter('erase');
	$('#pink_line2').lazylinepainter('erase');
	$('#pink_line4').lazylinepainter('erase');
	$('#pink_line5').lazylinepainter('erase');
	$('#pink_line6').lazylinepainter('erase');
	$('#study_icon').lazylinepainter('erase');
	$('#practice_icon').lazylinepainter('erase');
	$('#assignment_icon').lazylinepainter('erase');
	$('#test_icon').lazylinepainter('erase');
	$('#myspace_icon').lazylinepainter('erase');
	$('#my_group_wall_icon').lazylinepainter('erase');
 	$('#pink_line1').lazylinepainter( {
    "svgData": pathObj1,
    "strokeWidth": 2,
    "strokeColor": "#ec008c"
}).lazylinepainter('paint'); 
});
});

//assignment//

//practice//

var pathObj2 = {
    "pink_line2": {
        "strokepath": [
            {
                "path": "M 310 7.642 L 0 7.642",
                "duration": 200
            },
			{
                "path": "M 0.521 20.125 L 0.521 0",
                "duration": 200
            }
        ],
        "dimensions": {
			"width": 310,
            "height": 15
        }
    }
}; 
 
 
 $(document).ready(function(){ 
 $('#practice').click(function(e){
	$('#pink_line3').lazylinepainter('erase');
	$('#pink_line1').lazylinepainter('erase');
	$('#pink_line4').lazylinepainter('erase');
	$('#pink_line5').lazylinepainter('erase');
	$('#pink_line6').lazylinepainter('erase');
	$('#assignment_icon').lazylinepainter('erase');
	$('#study_icon').lazylinepainter('erase');
	$('#test_icon').lazylinepainter('erase');
	$('#myspace_icon').lazylinepainter('erase');
	$('#my_group_wall_icon').lazylinepainter('erase');
 $('#pink_line2').lazylinepainter( 
 {
    "svgData": pathObj2,
    "strokeWidth": 2,
    "strokeColor": "#ec008c"
}).lazylinepainter('paint');
});
 });

//practice//

//study//

var pathObj3 = {
    "pink_line3": {
        "strokepath": [
            {
                "path": "M 435.192 7.531 L -0.474 7.531",
                "duration": 200
            },
			{
                "path": "M 0.521 20.125 L 0.521 0",
                "duration": 200
            }
        ],
        "dimensions": {
            "width": 444,
            "height": 15
        }
    }
}; 

$(document).ready(function(){ 
$('#study').click(function(e){
	$('#pink_line1').lazylinepainter('erase');
	$('#pink_line2').lazylinepainter('erase');
	$('#pink_line4').lazylinepainter('erase');
	$('#pink_line5').lazylinepainter('erase');
	$('#pink_line6').lazylinepainter('erase');
	$('#practice_icon').lazylinepainter('erase');
	$('#assignment_icon').lazylinepainter('erase');
	$('#test_icon').lazylinepainter('erase');
	$('#myspace_icon').lazylinepainter('erase');
	$('#my_group_wall_icon').lazylinepainter('erase');
 $('#pink_line3').lazylinepainter( 
 {
    "svgData": pathObj3,
    "strokeWidth": 2,
    "strokeColor": "#ec008c"
}).lazylinepainter('paint'); 
});
});

//study//


//Test//

var pathObj4 = {
    "pink_line4": {
        "strokepath": [
            {
                "path": "M 0.172 7.563 L 160.797 7.563",
                "duration": 200
            },
			{
                "path": "M 160.521 20.125 L 160.521 0",
                "duration": 200
            }
        ],
        "dimensions": {
            "width": 162,
            "height": 15
        }
    }
}; 

 $(document).ready(function(){
$('#test').click(function(e){
	$('#pink_line3').lazylinepainter('erase');
	$('#pink_line2').lazylinepainter('erase');
	$('#pink_line1').lazylinepainter('erase');
	$('#pink_line5').lazylinepainter('erase');
	$('#pink_line6').lazylinepainter('erase');
	$('#practice_icon').lazylinepainter('erase');
	$('#study_icon').lazylinepainter('erase');
	$('#assignment_icon').lazylinepainter('erase');
	$('#myspace_icon').lazylinepainter('erase');
	$('#my_group_wall_icon').lazylinepainter('erase');	  
 $('#pink_line4').lazylinepainter( 
 {
    "svgData": pathObj4,
    "strokeWidth": 2,
    "strokeColor": "#ec008c"
}).lazylinepainter('paint'); 
 });
 });

//Test//


//MySpace//

var pathObj5 = {
    "pink_line5": {
        "strokepath": [
            {
                "path": "M 0.172 7.563 L 281.797 7.563",
                "duration": 200
            },
			{
                "path": "M 281.521 20.125 L 281.521 0",
                "duration": 200
            }
        ],
        "dimensions": {
            "width": 283,
            "height": 15
        }
    }
}; 

 $(document).ready(function(){
$('#myspace').click(function(e){
	$('#pink_line3').lazylinepainter('erase');
	$('#pink_line2').lazylinepainter('erase');
	$('#pink_line1').lazylinepainter('erase');
	$('#pink_line4').lazylinepainter('erase');
	$('#pink_line6').lazylinepainter('erase');
	$('#practice_icon').lazylinepainter('erase');
	$('#study_icon').lazylinepainter('erase');
	$('#assignment_icon').lazylinepainter('erase');
	$('#test_icon').lazylinepainter('erase');
	$('#my_group_wall_icon').lazylinepainter('erase');		  
 $('#pink_line5').lazylinepainter( 
 {
    "svgData": pathObj5,
    "strokeWidth": 2,
    "strokeColor": "#ec008c"
}).lazylinepainter('paint'); 
 });
 });


//MySpace//


//My group wall//


var pathObj6 = {
    "pink_line6": {
        "strokepath": [
            {
                "path": "M 0.172 7.563 L 440.797 7.563",
                "duration": 200
            },
			{
                "path": "M 440.521 20.125 L 440.521 0",
                "duration": 200
            }
        ],
        "dimensions": {
            "width": 442,
            "height": 15
        }
    }
}; 

 $(document).ready(function(){
$('#group_wall').click(function(e){	
$('#pink_line3').lazylinepainter('erase');
	$('#pink_line2').lazylinepainter('erase');
	$('#pink_line1').lazylinepainter('erase');
	$('#pink_line5').lazylinepainter('erase');
	$('#pink_line4').lazylinepainter('erase');
	$('#practice_icon').lazylinepainter('erase');
	$('#study_icon').lazylinepainter('erase');
	$('#assignment_icon').lazylinepainter('erase');
	$('#myspace_icon').lazylinepainter('erase');
	$('#test_icon').lazylinepainter('erase');	  
 $('#pink_line6').lazylinepainter( 
 {
    "svgData": pathObj6,
    "strokeWidth": 2,
    "strokeColor": "#ec008c"
}).lazylinepainter('paint'); 
 });
 });



//My group wall//


//Zigya Radio//

var pathObj7 = {
    "blue_line4": {
        "strokepath": [
            {
                "path": "M 0.172 7.563 L 514.797 7.563",
                "duration": 200
            },
			{
                "path": "M 514.521 20.125 L 514.521 0",
                "duration": 200
            }
        ],
        "dimensions": {
            "width": 516,
            "height": 15
        }
    }
}; 

 $(document).ready(function(){
$('#zigya_radio').click(function(e){
	$('#pink_line3').lazylinepainter('erase');
	$('#pink_line2').lazylinepainter('erase');
	$('#pink_line1').lazylinepainter('erase');
	$('#pink_line5').lazylinepainter('erase');
	$('#pink_line6').lazylinepainter('erase');
	$('#pink_line4').lazylinepainter('erase');
	$('#practice_icon').lazylinepainter('erase');
	$('#study_icon').lazylinepainter('erase');
	$('#test_icon').lazylinepainter('erase');
	$('#assignment_icon').lazylinepainter('erase');
	$('#myspace_icon').lazylinepainter('erase');
	$('#my_group_wall_icon').lazylinepainter('erase');		  
 $('#blue_line4').lazylinepainter( 
 {
    "svgData": pathObj7,
    "strokeWidth": 2,
    "strokeColor": "#ec008c"
}).lazylinepainter('paint'); 
 });
 });

//Zigya Radio//


//study icon//


var pathObj8 = {
    "study_icon": {
        "strokepath": [
            {
                "path": "M 13.625 1.921 L 13.625 17.731",
                "duration": 50
            },
            {
                "path": "M 13.978 17.276 L 2.189 17.276",
                "duration": 50
            },
            {
                "path": "M 15.119 3.375 L 15.119 19.185",
                "duration": 50
            },
            {
                "path": "M 15.471 18.708 L 3.683 18.708",
                "duration": 50
            },
            {
                "path": "M 0.486 0.464 L 11.864 0.464",
                "duration": 50
            },
            {
                "path": "M 11.864 0 L 11.864 15.999",
                "duration": 50
            },
            {
                "path": "M 11.864 15.539 L 0.486 15.539",
                "duration": 50
            },
            {
                "path": "M 0.486 15.999 L 0.486 0",
                "duration": 50
            }
        ],
        "dimensions": {
            "width": 16,
            "height": 20
        }
    }
}; 
  
 

 $(document).ready(function(){ 
 $('#study').click(function(e){
 $('#study_icon').lazylinepainter( 
 {
    "svgData": pathObj8,
    "strokeWidth": 1,
	"delay":400,
    "strokeColor": "#ec008c"
 }).lazylinepainter('paint'); 
	var delay = 1200;
	var url = $("#study_url").val();
    setTimeout(function(){ window.location = url+'study';}, delay);    
 });
 });
 
 
//study_icon//

//practice icon//


var pathObj9 = {
    "practice_icon": {
        "strokepath": [
            {
                "path": "M 12.945 3.714 L 12.945 16.777",
                "duration": 50
            },
            {
                "path": "M 13.119 16.327 L 3.321 16.327",
                "duration": 50
            },
            {
                "path": "M 4.301 0.479 L 10.576 0.479",
                "duration": 50
            },
            {
                "path": "M 10.576 0 L 10.628 15.257",
                "duration": 50
            },
            {
                "path": "M 10.627 14.8 L 0.638 14.8",
                "duration": 50
            },
            {
                "path": "M 0.637 15.257 L 0.586 4.035",
                "duration": 50
            },
            {
                "path": "M 0.453 4.415 L 4.685 0.288",
                "duration": 50
            },
            {
                "path": "M 0.731 4.035 L 4.685 4.035",
                "duration": 50
            },
            {
                "path": "M 4.685 4.496 L 4.685 0.537",
                "duration": 50
            }
        ],
        "dimensions": {
            "width": 14,
            "height": 17
        }
    }
}; 
 
 
 $(document).ready(function(){ 
  $('#practice').click(function(e){
 $('#practice_icon').lazylinepainter( 
 {
    "svgData": pathObj9,
    "strokeWidth": 1,
	"delay":400,
    "strokeColor": "#ec008c"
}).lazylinepainter('paint'); 
 });
  });

//practice icon//


//assignment icon//

var pathObj10 = {
    "assignment_icon": {
        "strokepath": [
            {
                "path": "M 4.057 0.439 L 10.242 0.439",
                "duration": 50
            },
            {
                "path": "M 10.262 0 L 10.262 14.959",
                "duration": 50
            },
            {
                "path": "M 10.287 14.545 L 0.444 14.545",
                "duration": 50
            },
            {
                "path": "M 0.417 14.959 L 0.417 3.976",
                "duration": 50
            },
            {
                "path": "M 0.286 4.35 L 4.333 0.267",
                "duration": 50
            },
            {
                "path": "M 0.656 3.976 L 4.456 3.976",
                "duration": 50
            },
            {
                "path": "M 4.456 4.47 L 4.456 0.529",
                "duration": 50
            },
            {
                "path": "M 10.262 3.597 L 10.262 13.183",
                "duration": 50
            },
            {
                "path": "M 7.446 11.1 L 13.645 4.558",
                "duration": 50
            },
            {
                "path": "M 6.68 10.201 L 5.634 12.435",
                "duration": 600
            },
            {
                "path": "M 5.774 12.482 L 8.427 11.773",
                "duration": 50
            }
        ],
        "dimensions": {
            "width": 16,
            "height": 15
        }
    }
};  

 $(document).ready(function(){ 
 $('#assignment').click(function(){
 $('#assignment_icon').lazylinepainter( 
 {
    "svgData": pathObj10,
    "strokeWidth": 1,
	"delay":400,
    "strokeColor": "#ec008c"
}).lazylinepainter('paint'); 
 });
});
//assignment icon//
		
//my_group_wall_icon//

var pathObj12 = {
    "my_group_wall_icon": {
        "strokepath": [
            {
                "path": "M8.276,11.27l9.524-0.038l0.04-2.086c0,0-0.283-1.528-1.589-1.698  H9.824c0,0-1.124-0.016-1.55,1.761v2.522",
                "duration": 50
            },
            {
                "path": "M12.915,5.733c0,0,2.488-0.057,2.369-2.479  c0,0-0.167-2.161-2.393-2.149c0,0-2.094-0.325-2.396,2.498C10.497,3.603,10.43,5.799,12.915,5.733",
                "duration": 50
            },
            {
                "path": "M9.044,1.714c0,0-1.521-2.385-3.735,0.335c0,0-1.809,2.418,1.3,3.44  c0,0,1.097,0.173,2.352-0.122c0,0-0.768-1.746,0.314-4.064",
                "duration": 50
            },
            {
                "path": "M16.067,1.714c0,0,3.212-2.507,4.223,1.343  c0,0,0.615,1.972-1.701,2.676c0,0-0.848,0.002-1.883-0.335c0,0,1.688-2.031-0.427-4.072",
                "duration": 50
            },
            {
                "path": "M7.341,7.428l-2.56-0.014c0,0-1.551,0.019-1.738,1.924l-0.015,1.913  h3.625c0,0-0.44-3.079,0.427-3.837",
                "duration": 50
            },
            {
                "path": "M18.944,7.434l2.719,0.014c0,0,1.229-0.078,1.591,1.729l-0.039,2.056  h-3.626c0,0,0.207-3.57-0.506-3.784",
                "duration": 50
            }
        ],
        "dimensions": {
            "width": 24,
            "height": 12
        }
    }
}; 


 $(document).ready(function(){ 
 $('#group_wall').click(function(e){
 $('#my_group_wall_icon').lazylinepainter( 
 {
    "svgData": pathObj12,
    "strokeWidth": 1,
	"delay":400,
    "strokeColor": "#ec008c"
}).lazylinepainter('paint'); 
 });
});
//my_group_wall_icon//


//myspace_icon//

var pathObj13 = {
    "myspace_icon": {
        "strokepath": [
            {
                "path": "M0.508,12.351l10.513-0.037l0.044-4.094c0,0-0.312-1.533-1.753-1.704  H2.218c0,0-1.241-0.015-1.712,1.767v4.531",
                "duration": 50
            },
            {
                "path": "M5.699,5.345c0,0,2.81-0.059,2.675-2.544c0,0-0.188-2.218-2.701-2.206  c0,0-2.365-0.334-2.706,2.563C2.968,3.157,2.892,5.412,5.699,5.345",
                "duration": 50
            },
            {
                "path": "M 11.632 6.198 L 20.219 6.198",
                "duration": 50
            },
            {
                "path": "M 14.721 9.125 L 20.219 9.125",
                "duration": 50
            },
            {
                "path": "M 14.721 11.699 L 20.219 11.699",
                "duration": 50
            }
        ],
        "dimensions": {
            "width": 21,
            "height": 13
        }
    }
}; 

$(document).ready(function(){ 
$('#myspace').click(function(e){
 $('#myspace_icon').lazylinepainter( 
 {
    "svgData": pathObj13,
    "strokeWidth": 1,
	"delay": 400,
    "strokeColor": "#ec008c"
}).lazylinepainter('paint'); 
 });
})
//myspace_icon//


//test icon//

var pathObj14 = {
    "test_icon": {
        "strokepath": [
            {
                "path": "M 3.67 1.133 L 8.732 1.133",
                "duration": 50
            },
            {
                "path": "M -0.14 2.552 L 12.541 2.552",
                "duration": 50
            },
            {
                "path": "M 12.086 2.125 L 12.086 18.67",
                "duration": 50
            },
            {
                "path": "M 0.369 2.125 L 0.369 18.67",
                "duration": 50
            },
            {
                "path": "M 12.55 18.67 L -0.148 18.67",
                "duration": 50
            },
            {
                "path": "M 3.04 4.466 L 9.362 4.466",
                "duration": 50
            },
            {
                "path": "M 15.534 7.87 L 10.661 12.468",
                "duration": 50
            },
            {
                "path": "M 9.949 12.039 L 9.768 13.607",
                "duration": 50
            },
            {
                "path": "M 9.55 13.834 L 11.174 13.16",
                "duration": 50
            }
        ],
        "dimensions": {
            "width": 16,
            "height": 19
        }
    }
}; 
 


$(document).ready(function(){ 
$('#test').click(function(e){
 $('#test_icon').lazylinepainter( 
 {
    "svgData": pathObj14,
    "strokeWidth": 1,
	"delay":400,
    "strokeColor": "#ec008c"
}).lazylinepainter('paint'); 
 });
});
//test icon//



